import request from '@/utils/request'

// 查询欠款统计列表
export function listQiankuantongji(query) {
  return request({
    url: '/system/qiankuantongji/list',
    method: 'get',
    params: query
  })
}

// 查询欠款统计详细
export function getQiankuantongji(id) {
  return request({
    url: '/system/qiankuantongji/' + id,
    method: 'get'
  })
}

// 新增欠款统计
export function addQiankuantongji(data) {
  return request({
    url: '/system/qiankuantongji',
    method: 'post',
    data: data
  })
}

// 修改欠款统计
export function updateQiankuantongji(data) {
  return request({
    url: '/system/qiankuantongji',
    method: 'put',
    data: data
  })
}

// 删除欠款统计
export function delQiankuantongji(id) {
  return request({
    url: '/system/qiankuantongji/' + id,
    method: 'delete'
  })
}
